Subtleties of the ANSI/ISO C standard
نویسندگان
چکیده
In our Formalin project to formalize C11 (the ANSI/ISO standard of the C programming language) we discovered many subtleties that make formalization of this standard difficult. We discuss some of these subtleties and indicate how they may be addressed in a formal C semantics. Furthermore, we argue that the C standard does not allow Turing complete implementations, and that its evaluation semantics does not preserve typing. Finally, we claim that no strictly conforming programs exist. That is, there is no C program for which the standard can guarantee that it will not crash.
منابع مشابه
Validation of the RisingSun RS‐651 Blood Pressure Monitor Based on Auscultation in Adults According to the ANSI/AAMI/ISO 81060‐2:2013 Standard
This study validated the RisingSun RS-651 blood pressure (BP) monitor based on auscultation in adults according to the American National Standards Institute/Association for the Advancement of Medical Instrumentation/International Organization for Standardization (ANSI/AAMI/ISO) 81060-2:2013 standard. The RS-651 device was evaluated in a study of 97 participants. The same arm simultaneous method...
متن کاملAn ISO / IEC 42010 ( IEEE Std 1471 ) Annotated Bibliography
This is an annotated bibliography of papers, reports and books pertaining to ANSI/IEEE Std 1471 (now also published as international standard ISO/IEC 42010). It was originally prepared for ISO/IEC JTC 1/SC 7 WG 42, the Architecture working group of the Systems and Software Engineering Subcommittee of ISO. WG 42 is the body performing the joint ISO and IEEE revision of IEEE 1471 as ISO/IEC 42010...
متن کاملComputation of expm 1 ( x ) =
These notes describe an implementation of an algorithm for accurate computation of expm1(x) = exp(x) − 1, one of the new elementary functions introduced in the 1999 ISO C Standard, but already available in most UNIX C implementations. A test package modeled after the Cody and Waite Elementary Function Test Package, ELEFUNT, is developed to evaluate the accuracy of implementations of expm1(x).
متن کاملCultural ergonomics in Ghana, West Africa: a descriptive survey of industry and trade workers' interpretations of safety symbols.
Globalization and technology transfer have led to the diffusion of risk communications to users from cultures that were not initially viewed as the target users. This study examined industry and trade workers' overall impressions of symbols used to convey varying degrees of hazardousness. Six symbols, including symbols from the American National Standards Institute (ANSI) Z535 Standard (ANSI, 1...
متن کاملImpact of ANSI X9.24-1: 2009 Key Check Value on ISO/IEC 9797-1: 2011 MACs
ANSI X9.24-1:2009 specifies the key check value, which is used to verify the integrity of the blockcipher key. This value is defined as the most significant bits of the ciphertext of the zero block, and is assumed to be publicly known data for verification. ISO/IEC 9797-1:2011 illustrates a total of ten CBC MACs, where one of these MACs, the basic CBC MAC, is widely known to be insecure. In thi...
متن کامل